﻿using System;
using System.Collections.Generic;

namespace Pay.DTO.hxdata {
	/// <summary>
	/// 订单查询
	/// </summary>
	public class hx_query_model {
		public string method { get { return "pay_qry"; } }
		/// <summary>
		/// 原交易流水
		/// </summary>
		public string orig_tran_id { get; set; }
	}

	/// <summary>
	/// 订单查询响应
	/// </summary>
	public class hx_query_result {
		/// <summary>
		/// 支付状态应答码（PAY_SUBMIT 未支付，PAY_SUCCESS 成功，PAY_FAILURE 失败）
		/// </summary>
		public string resp_code { get; set; }
		/// <summary>
		/// 应答描述
		/// </summary>
		public string resp_msg { get; set; }
		/// <summary>
		/// 提现状态:WITHDRAWALS_REQUEST 未发起,WITHDRAWALS_SUBMIT 处理中,WITHDRAWALS_SUCCESS 成功,WITHDRAWALS_FAILURE 失败
		/// </summary>
		public string withdrawals_status { get; set; }
		/// <summary>
		/// 提现状态描述
		/// </summary>
		public string withdrawals_msg { get; set; }
	}

	/// <summary>
	/// 对账
	/// </summary>
	public class hx_itp_model {
		public string method { get { return "bill"; } }
		/// <summary>
		/// 订单日期:YYYYMMDD
		// </summary>
		public string trans_date { get; set; }
	}

	/// <summary>
	/// 对账响应
	/// </summary>
	public class hx_itp_result {
		public hx_itp_result() {
			bills = new List<string>();
		}
		public List<string> bills { get; set; }
	}
}
